.class Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;
.super Ljava/lang/Object;
.source "NiceAppSettingActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

.field final synthetic val$dialog:Lcom/brixd/niceapp/ui/ConfirmDialog;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;Lcom/brixd/niceapp/ui/ConfirmDialog;)V
    .registers 3
    .param p1, "this$1"    # Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

    .prologue
    .line 265
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;->this$1:Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

    iput-object p2, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;->val$dialog:Lcom/brixd/niceapp/ui/ConfirmDialog;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 269
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;->val$dialog:Lcom/brixd/niceapp/ui/ConfirmDialog;

    invoke-virtual {v0}, Lcom/brixd/niceapp/ui/ConfirmDialog;->dismiss()V

    .line 271
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;->this$1:Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;->this$0:Lcom/brixd/niceapp/activity/NiceAppSettingActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->getActivity()Landroid/app/Activity;

    move-result-object v0

    const-string v1, "Logout"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 272
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    new-instance v1, Lcom/brixd/niceapp/bus/event/UserLogoutEvent;

    invoke-direct {v1}, Lcom/brixd/niceapp/bus/event/UserLogoutEvent;-><init>()V

    invoke-virtual {v0, v1}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 273
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10$2;->this$1:Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/NiceAppSettingActivity$10;->this$0:Lcom/brixd/niceapp/activity/NiceAppSettingActivity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/NiceAppSettingActivity;->finish()V

    .line 274
    return-void
.end method
